#pragma once 

#include <stdio.h>
#include <string.h>


#define ROW 20
#define COL 20
#define PLAYER1   1
#define PLAYER2   2

#define NEXT      0
#define PLAY1_WIN 1
#define PLAY2_WIN 2
#define DRAW      3

enum Dir
{
  LEFT,
  RIGHT,
  UP,
  DOWN,
  LEFT_UP,
  LEFT_DOWN,
  RIGHT_UP,
  RIGHT_DOWN
};

int IsOver(int board[ROW][COL],int row,int col);
void ShowBoard(int board[ROW][COL],int row,int col);
void PlayMove(int board[][COL],int row,int col,int who);
void Menu();
void Game();
